package com.boang.service;

import com.boang.entity.Student;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import java.sql.SQLException;
import java.util.List;

import static org.junit.jupiter.api.Assertions.*;

class StuServiceTest {

    @BeforeEach
    void setUp() {
    }

    @Test
    void list() throws SQLException {
        StuService stuService = new StuService();
        List<Student> list = stuService.list();
        list.forEach(System.out::println);
    }
}